source/xkeybind.d(107,44): Error: `parts[__dollar - 1LU] ~ '\x00'.ptr` cannot be used in `@safe` code, use `&parts[__dollar - 1LU] ~ '\x00'[0]` instead source/xkeybind.d(122,21): Error: cast from `immutable(char)*` to `char*` not allowed in safe code source/xkeybind.d(146,35): Error: safe function `xkeybind.XKeyBind.load` cannot index pointer `(*modmap).modifiermap` source/xkeybind.d(185,15): Error: field `XEvent.xkey` cannot access pointers in `@safe` code that overlap other fields source/xkeybind.d(186,42): Error: field `XEvent.xkey` cannot access pointers in `@safe` code that overlap other fields /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.